{template "content","header"}
<link href="{CSS_PATH}vote.css" rel="stylesheet" type="text/css" />
<div class="main votesss" style="margin:15px 0;">
  <div class="vote_listt col-left">
    <div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> &gt; </span><a href="{APP_PATH}index.php?m=vote&c=index&a=lists&siteid={$siteid}">投票</a> </div>

    {pc:vote action="lists" order="subjectid desc" siteid="$siteid" num="12" page="$page"}
    <ul class="wrap icon3j">
      {loop $data $r}
      <li><a title="{$r[subject]}" target="_blank" href="{APP_PATH}index.php?m=vote&c=index&a=show&show_type=1&subjectid={$r['subjectid']}&siteid={$siteid}">{$r[subject]}</a><span><font color="#1E50A0">(投票数: {$r[votenumber]})</font></span></li>
      {/loop}
    </ul>
    <div id="pages" class="text-c">{$pages}</div>
    {/pc} </div>
  <div class="col-auto">
    <div class="box">
      <h5 class="title-2">投票列表</h5>
      {pc:content action="category" catid="$CATEGORYS[$catid][parentid]" num="12" siteid="$siteid" order="listorder ASC"}
      <ul class="PageNav">
        {loop $data $r}
        <li><a href="{$r[url]}">{$r[catname]}</a></li>
        {/loop}
        <img src="{IMG_PATH}default/pageSideBg.png" />
      </ul>
      {/pc} </div>
    <div class="bk10"></div>
  </div>
</div>
{template "content","footer"}